package com.mt.mtyx.common.utils.generate.generate.table;

import java.util.List;

/**
 * @author WMT
 * @Date 2023/5/26 17:27
 */
public class TableData {

    /**
     * 表名
     */
    private String tableName;

    /**
     * 基础名称
     */
    private String baseName;

    /**
     * 表注释
     */
    private String tableComment;

    /**
     * 数据库
     */
    private String tableSchema;

    /**
     * 字段列表
     */
    private List<FieldData> fields;

    public TableData() {
    }

    public TableData(String tableName, String baseName, String tableComment, String tableSchema, List<FieldData> fields) {
        this.tableName = tableName;
        this.baseName = baseName;
        this.tableComment = tableComment;
        this.tableSchema = tableSchema;
        this.fields = fields;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getTableComment() {
        return tableComment;
    }

    public void setTableComment(String tableComment) {
        this.tableComment = tableComment;
    }

    public String getTableSchema() {
        return tableSchema;
    }

    public void setTableSchema(String tableSchema) {
        this.tableSchema = tableSchema;
    }

    public List<FieldData> getFields() {
        return fields;
    }

    public void setFields(List<FieldData> fields) {
        this.fields = fields;
    }

    public String getBaseName() {
        return baseName;
    }

    public void setBaseName(String baseName) {
        this.baseName = baseName;
    }
}
